package org.micro.alibaba.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author keven
 * @date 2025-06-25 6:36 下午
 * @Description
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="user")
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String username;

    private String mobile;

    private BigDecimal amount;

}
